import 'babel-polyfill';
import Vue from 'vue';
import defaults from './default.vue';
import '@/assets/base.css'

Vue.config.productionTip = false;

// 添加vue jsx的错误提示
Vue.config.errorHandler = (err, vm, info) => {
    console.group(`%cError in ${info}`, 'color:red;font-weight: bold;');
    console.info(err);
    console.dir({ err, vm });
    console.error(err);
    console.groupEnd();
};

//Vue.use(Cap4i18n);
new Vue({
    render: h => h(defaults)
}).$mount('#app');
